package com.rockxin.cat.activity;

import android.content.Intent;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.rockxin.cat.R;
import com.rockxin.cat.base.BaseActivity;

import butterknife.BindView;

/**
 * Created by cat on 18-3-9.
 */

public class FindMiddleActivity extends BaseActivity {
    @BindView(R.id.back_img)
    ImageView backImg;
    @BindView(R.id.title)
    TextView title;
    @BindView(R.id.rl_one)
    RelativeLayout rlOne;
    @BindView(R.id.rl_two)
    RelativeLayout rlTwo;

    @Override
    protected int setLayout() {
        return R.layout.activity_find_middle;
    }

    @Override
    public void initData() {
        title.setText("信息披露");
        backImg.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });
        rlOne.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(FindMiddleActivity.this, EmploymentInfoActivity.class);
                startActivity(intent);
            }
        });
        rlTwo.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(FindMiddleActivity.this, RunReportActivity.class);
                startActivity(intent);
            }
        });
    }

}
